package com.slj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.slj.model.query.OrderQuery;
import com.slj.model.entity.PurchaseOrders;
import com.slj.model.vo.OrderVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 采购订单表 记录采购订单信息 Mapper 接口
 * </p>
 *
 * @author 礼俊
 * @since 2025-09-20 22:46
 */
@Mapper
public interface PurchaseOrdersMapper extends BaseMapper<PurchaseOrders> {
    //查询订单列表
    Page<OrderVo> orderList(Page<OrderVo> page, OrderQuery orderQuery);
    //查看子订单列表
    List<OrderVo> getChildOrderList(String orderId);
    //查看子订单详情
    List<OrderVo> selectOrderDetails(String orderId);
}
